package com.dao.jdbc.beans;

import com.bean.Customer;
import com.bean.Product;
import com.solveit.core.db2.annotations.Column;
import com.solveit.core.db2.annotations.Id;

public class Order extends com.bean.Order {
	
	public static final int ID = 1;
	@Id(auto = true)
	@Column(name = "id", alias = ID, nullable = false)
	private Integer id;
	
	public static final int PRODUCT = 2;
	@Column(name = "product", alias = PRODUCT, nullable = false)
    protected Product product;
	
	public static final int CUSTOMER = 3;
	@Column(name = "customer", alias = CUSTOMER, nullable = false)
	protected Customer customer;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer aId) {
		id = aId;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product aProduct) {
		product = aProduct;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer aCustomer) {
		customer = aCustomer;
	}
	
	
}
